<html>
<head>
<title>Kaisa Network - $title</title>
<link rel="stylesheet" type="text/css" href="${context}/assets/style/style_main.css" />
<link href="${context}/assets/style/jquery-ui-1.8.7.custom.css" rel="stylesheet" type="text/css" />
<link href="${context}/assets/style/jquery.wijmo-open.1.0.0.css" rel="stylesheet" type="text/css" />
$headElements
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script>
	jQuery.noConflict();
</script>
<script src="${context}/assets/js/jquery.corner.js" type="text/javascript"></script>
<script src="${context}/assets/js/jquery-ui-1.8.7.custom.min.js" type="text/javascript"></script>
<script src="${context}/assets/js/external/jquery.bgiframe-2.1.3-pre.js" type="text/javascript"></script>
<script src="${context}/assets/js/external/jquery.glob.min.js" type="text/javascript"></script>
<script src="${context}/assets/js/external/jquery.tmpl.min.js" type="text/javascript"></script>
<script src="${context}/assets/js/jquery.wijmo-open.1.0.0.min.js" type="text/javascript"></script>
<script src="${context}/assets/js/custom.js" type="text/javascript"></script>
<script type="text/javascript">
	jQuery(function() {
		jQuery("#$navMenuSelected").addClass("selected");
	});
</script>
$jsElements
</head>

<body>
	<div id="container">
        <div id="header">
            <div id="top">
            	<h1>
                    <a title="Kaisa Network" href="$context/home/home.htm">
                        <img alt="Kaisa Network" src="${context}/assets/images/template/logo.png">
                    </a>
				</h1>
                <span class="clearFix">&nbsp;</span>
            </div><!-- end of div#top -->
            <div id="nav">
                <ul id="menu">
                	<li id="home" class="first">
                		<a href="$context/home/home.htm">$messages.home</a>
					</li>
                    <li id="services">
                        <a href="$context/services/our-services.htm">$messages.services</a>
                    </li>
                    <li id="support">
					    <a href="$context/support/support.htm">$messages.support</a>
					</li>
                    <li id="contact">
                        <a href="$context/contact/contact.htm">$messages.contact</a>
                    </li>
                    <li id="project">
                        <a href="$context/projects/projects.htm">$messages.projects</a>
                    </li>
                    <li id="about">
                        <a href="$context/about/about.htm">$messages.about</a>
                    </li>
                    <li id="wiki">
                        <a href="$context/wiki/main.htm">$messages.wiki</a>
                    </li>
                </ul><!-- end of ul#menu -->
            </div><!-- end of nav -->
            <div id="panelLogin">
            	<div id="login-menu">
                	#if($isUserLogin)
                    <p class="first">
                    	<a href="$urlLogout">$messages.logout</a>
					</p>
                    <p id="controlpanel">
                    	<a href="$context/cpanel/control-panel.htm">$messages.controlpanel</a>
                    </p>
                    #else
                    <p class="first">
                    	<a href="$urlLogin">$messages.login</a>
					</p>
                    #end
                </div><!-- end of login-menu -->
            </div><!-- end of panelLogin -->
            <span class="clearFix">&nbsp;</span>
        </div><!-- end of header -->
        <div id="content">
            <div id="content-top">
                <h2>$title</h2>
                <span class="clearFix">&nbsp;</span>
            </div><!-- end of div#content-top -->
            <div id="mid-col">
                #parse($path)
            </div><!-- end of div#mid-col -->
            <span class="clearFix">&nbsp;</span>     
        </div><!-- end of div#content -->
        <div class="push"></div>
    </div><!-- end of container -->
    <div id="footer-wrap">
        <div id="footer">
            <div id="footer-top">
                <div class="align-left">
                    <h4>$title</h4>
                    <p>
                        <a href="$context/home/home.htm">$messages.home</a> | 
                        <a href="$context/support/tos.htm">$messages.tos</a> | 
                        <a href="$context/support/tos.htm">$messages.privacy</a>
                    </p>
                </div>
                <div class="align-right">
                    <h2><a href="$context/home/home.htm">$messages.kn</a></h2>
                </div>
                <span class="clearFix"></span>
            </div><!-- end of div#footer-top -->
            <div id="footer-bottom">
                <p>
                    $messages.copyright
                </p>
            </div>
        </div><!-- end of footer -->
    </div><!-- end of footer-wrap -->
</body>
</html>